let path = {
    namespaced: true,
    state: {
        orderConfirmPrevRoute: {
            fullPath: "",
            params: {},
            query: {}
        }
    },
    mutations: {
        // 设置访问到确认订单页面的前路由
        setOrderConfirmPrevRoute(state, prevRoute) {
            state.orderConfirmPrevRoute = {
                fullPath: prevRoute.fullPath,
                params: prevRoute.params,
                query: prevRoute.query
            };
        },
    },
    getters: {
        // 获取访问到确认订单页面的前路由
        getOrderConfirmPrevRoute: state => {
            return state.orderConfirmPrevRoute;
        }
    },
    actions: {
    }
}

export default path;